Jinja2 variables
templates\template.html
<h1>Here is the message from the server:</h1> <p>{{message}}</p>
server.py
from flask import * app = Flask("placeholders for dynamic data using jinja") @app.route("/") def main(): return render_template("template.html", message = "hello!") app.run(debug=True)